import { createI18n } from 'vue-i18n'
import zhCN from './packs/zhCN'
import en from './packs/en'

const i18n = createI18n({
    legacy: false,
    globalInjection: true,
    locale: 'zhCN',
    messages: {
        zhCN,
        en,
    }
})

export default i18n